Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/debug documentation update errors #266

Merged
merged 7 commits into from
Nov 24, 2023

Conversation

JohannesRudolph
Copy link
Member

@JohannesRudolph JohannesRudolph commented Nov 23, 2023

This PR fixes #265

It adds a new and faster way to collect documentation outputs from modules. This support however requires a terragrunt before_hook in platform.hcl files. A fallback is in place for producing documentation correctly with a slower, but safe alternative method.

After quite a bit of testing, I determined the following

  • terragrunt appears to have built-in magic support for gcs backends and thus this issue occurs less when on gcs vs using azure storage containers
  • the only safe way to execute terragrunt in our platform stacks is to execute via terragrunt run-all or one terragrunt command at a time

@JohannesRudolph JohannesRudolph marked this pull request as draft November 24, 2023 09:27
…mode

this mode requires a before_hook in terragrunt config, but is considerably faster than running serially (of course) or running with
individual terragrunt invocations (thanks to terragrunts built-in dependency caching)
@JohannesRudolph JohannesRudolph marked this pull request as ready for review November 24, 2023 14:39
@JohannesRudolph JohannesRudolph added this pull request to the merge queue Nov 24, 2023
Merged via the queue into main with commit 96c05e1 Nov 24, 2023
2 checks passed
@JohannesRudolph JohannesRudolph deleted the feature/debug-documentation-update-errors branch November 24, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

collie foundation docs --update fails with terragrunt manifest errors
1 participant